ArcGIS Runtime SDK for WPF - Library Reference
OffsetTaskAsync(IList<Graphic>,OffsetParameters) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > OffsetTaskAsync Method : OffsetTaskAsync(IList<Graphic>,OffsetParameters) Method

graphics
A collection of polylines or polygons. Input types can be mixed. All geometries are assumed to be in the coordinate system defined by the input SpatialReference.
parameters
Parameters contains additional properties that defines how the offset task will be preformed.
Constructs offset copies of the input polylines or polygons.

Syntax

Visual Basic (Declaration) 
Public Overloads Function OffsetTaskAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal parameters As OffsetParameters _
) As Task(Of OffsetResult)
C# 
public Task<OffsetResult> OffsetTaskAsync( 
   IList<Graphic> graphics,
   OffsetParameters parameters
)

Parameters

graphics
A collection of polylines or polygons. Input types can be mixed. All geometries are assumed to be in the coordinate system defined by the input SpatialReference.
parameters
Parameters contains additional properties that defines how the offset task will be preformed.

Return Value

Returns a graphic collection of the offset geometries that were processed.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.